home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 4
/
Amiga Tools 4.iso
/
tools
/
internet-tools
/
httpirl-log
/
httpirlogwb
< prev
next >
Wrap
Text File
|
1996-02-26
|
2KB
|
76 lines
.bra {
.ket }
; $VER HTTPD Log Processor v0.2b (c)1995 PirlAGA
RequestChoice >nil: "PirlAGA HTTPD Log Processor v0.2b" "Welcome! This is Just a Sample Script With ERRORS ! " "Continue"
RequestFile >env:filename PATTERN "#?.log" TITLE "Select File To Process"
RequestChoice >env:domain "PirlAGA HTTPD Log Processor v0.2b" "Domain Level ?" "1" "2" "3" "4" "5" "6" "7" "8" "9" "No Domain"
RequestChoice >env:date "PirlAGA HTTPD Log Processor v0.2b" "Date Type ?" "Day/Month/Year" "Month/Year" "Year" "No Date"
RequestChoice >env:band "PirlAGA HTTPD Log Processor v0.2b" "Time Bands Type ?" "1 Hour" "30 Mins" "15 Mins" "No Bands"
if $band EQ "60"
set band=1
endif
if $band EQ "30"
set band=2
endif
if $band EQ "15"
set band=3
endif
RequestChoice >nil: "PirlAGA HTTPD Log Processor v0.2b" "SORRY! With this script You cannot enter the PageBase" "Continue"
RequestChoice >env:nolog "PirlAGA HTTPD Log Processor v0.2b" "Disable Output File ?" "Yes" "- NO!-"
if $nolog EQ "1"
set nolog="nolog"
else set nolog=""
endif
echo $nolog
RequestChoice >env:noelap "PirlAGA HTTPD Log Processor v0.2b" "Disable Elapsed Time Count ?" "Yes" "NO"
if $noelap EQ "1"
set noelap="noelapsed"
else set noelap=""
endif
RequestChoice >env:progress "PirlAGA HTTPD Log Processor v0.2b" "Enable Show Progress?" "Yes" "-NO-"
if $progress EQ "1"
set progress="progress"
else set progress=""
endif
RequestChoice >env:justhtml "PirlAGA HTTPD Log Processor v0.2b" ".HTML Files Only ?" "Yes" "NO"
if $justhtml EQ "1"
set justhtml="justhtml"
else set justhtml=""
endif
if $filename NOT EQ ""
; httpirlog $filename "class=$domain" "date=$date" "band=$band" $nolog $noelap $progress $justhtml
echo httpirlog $filename "class=$domain" "date=$date" "band=$band" $nolog $noelap $progress $justhtml
endif
delete >nil: env:domain
delete >nil: env:date
delete >nil: env:band
delete >nil: env:filename
delete >nil: env:nolog
delete >nil: env:noelap
delete >nil: env:progress
delete >nil: env:justhtml